package com.ctshk.rpc.tour.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 团期团队规则
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-20
 */
@Data
@TableName("t_series_trip_schedule_team_rule")
@ApiModel(value="SeriesTripScheduleTeamRule对象", description="团期团队规则")
public class SeriesTripScheduleTeamRule  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "所属行程")
    private Long tripId;

    @ApiModelProperty(value = "所属团期")
    private Long scheduleId;

    @ApiModelProperty(value = "最大成团人数")
    private Integer maxPeople;

    @ApiModelProperty(value = "是否允许追位")
    private Integer enableAdditionalPosition;

    @ApiModelProperty(value = "最小成团人数")
    private Integer minPeople;

    @ApiModelProperty(value = "是否自动成团")
    private Integer enableAutoGroup;

    @ApiModelProperty(value = "是否允许留位")
    private Integer allowReservedSeats;

    @ApiModelProperty(value = "允许留位人数")
    private Integer reservedSeatsNum;

    @ApiModelProperty(value = "清位时限时间")
    private String clearSeatsTime;

    @ApiModelProperty(value = "清位时限单位")
    private Integer clearSeatsUnit;

    @ApiModelProperty(value = "导游领队要求")
    private String guideRequirement;

    @ApiModelProperty(value = "锁客天数")
    private Integer lockTouristDays;

    @ApiModelProperty(value = "停售天数")
    private Integer stopSaleDays;

    @ApiModelProperty(value = "停售小时")
    private Integer stopSaleHours;

    @ApiModelProperty(value = "徽章颜色主数据ID")
    private Long badgeColorId;

    @ApiModelProperty(value = "徽章颜色")
    private String badgeColor;

    @ApiModelProperty(value = "预设定金")
    private BigDecimal minDeposit;

    @ApiModelProperty(value = "交余数天数")
    private Integer deliveryDays;

    @ApiModelProperty(value = "随团物品主数据ID")
    private Long itemId;

    @ApiModelProperty(value = "随团物品")
    private String item;

    @ApiModelProperty(value = "预报天数")
    private Integer advanceSignDays;

    @ApiModelProperty(value = "确报天数")
    private Integer actualSignDays;

    @ApiModelProperty(value = "是否茶会")
    private Integer hasTeaParty;

    @ApiModelProperty(value = "茶会地点主数据ID")
    private Long teaPartyLocId;

    @ApiModelProperty(value = "茶会日期")
    private LocalDate teaPartyDate;

    @ApiModelProperty(value = "茶会时间")
    private LocalTime teaPartyTime;

    @ApiModelProperty(value = "茶会备注")
    private String teaPartyRemark;

    @ApiModelProperty(value = "是否需要旅游小费")
    private Integer needTripConsumption;

    @ApiModelProperty(value = "小费主数据ID")
    private Long consumptionId;

    @ApiModelProperty(value = "小费主数据名称")
    private String consumptionName;

    @ApiModelProperty(value = "退团扣费规则ID")
    private Long deductionRulesId;

    @ApiModelProperty(value = "退团扣费规则名称")
    private String deductionRulesName;

    @ApiModelProperty(value = "不成团规则ID")
    private Long notGroupRulesId;

    @ApiModelProperty(value = "不成团规则名称")
    private String notGroupRulesName;

    @ApiModelProperty(value = "住房类型主数据ID")
    private Long housingTypeId;

    @ApiModelProperty(value = "住房类型")
    private String housingType;

    @ApiModelProperty(value = "床数")
    private Integer bedNum;

    @ApiModelProperty(value = "占床数")
    private Integer occupyBedNum;

    @ApiModelProperty(value = "不占床数")
    private Integer notOccupyBedNum;


}
